print( "<table>");
tabla(2,4);
print("</table>");

function tabla(fil,col) {
	for (i=1;i<=fil;i++) {
		print( "<tr>");
		for (j=1;j<=col;j++) {
			print ("<td>"+"celda"+"</td>");
		}
		print ("</tr>\n");
	}
}
